package top.huhuiyu.springboot2.study.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.huhuiyu.springboot2.study.entity.Software;

import java.util.List;

/**
 * @author 胡辉煜
 */
@Mapper
public interface SoftwareMapper {
  int insert(Software software);

  Software queryByKey(Integer sid);

  List<Software> query(Software software);

  List<Software> queryMapping(Software software);

  List<Software> queryResult(Software software);

  Integer queryCountByStid(Integer stid);

  int delete(Integer sid);

  int update(Software software);
}
